
using AutoMapper;
using Yozeev.BusinessLogic;
using Yozeev.BusinessLogic.Dtos;

namespace Yozeev.BusinessLogic.Mapper
{

	/// <summary>
    /// 配置Schedule的AutoMapper
    /// </summary>
	internal static class ScheduleMapper
    {
        public static void CreateMappings(IMapperConfigurationExpression configuration)
        {
            configuration.CreateMap <Schedule,ScheduleListDto>();
            configuration.CreateMap <ScheduleListDto,Schedule>();

            configuration.CreateMap <ScheduleEditDto,Schedule>();
            configuration.CreateMap <Schedule,ScheduleEditDto>();

        }
	}
}
